'use strict';

import { combineReducers } from 'redux';
import page2 from './page2/';
import zhekou1 from './zhekou1/';
import zhekou1_set_items from './zhekou1_set_items/';
import zhekou1_edit_items from './zhekou1_edit_items/';
import zhekou1_list from './zhekou1_list/';
import zhekou1_all_in_list from './zhekou1_all_in_list/';
import zhekou_limit_step1 from './zhekou_limit_step1/';
import zhekou_limit_list from './zhekou_limit_list/'; 
import zhekou_limit_edit_items from './zhekou_limit_edit_items/';
import mjs1 from './mjs1/';
import mjs1_list from './mjs1_list/';
import ring_tags from './ring_tags/';
import ring_tags_step1 from './ring_tags_step1/';
import ring_tags_step2 from './ring_tags_step2/';
import ring_tags_step3 from './ring_tags_step3/';
import ring_zhekou_list from './ring_zhekou_list/';
import ring_zhekou_edit_items from './ring_zhekou_edit_items/';
import ring_runing_log from './ring_runing_log/';
import { routerReducer } from 'react-router-redux';
import home from './home/';
import index from './index/';

// 将现有的reduces加上路由的reducer
const rootReducer = combineReducers({
  home,
  page2,
  index,
  zhekou1,
  zhekou1_set_items,
  zhekou1_edit_items,
  zhekou1_list,
  zhekou1_all_in_list,
  zhekou_limit_step1,
  zhekou_limit_list,
  zhekou_limit_edit_items,
  mjs1,
  mjs1_list,
  ring_tags,
  ring_tags_step1,
  ring_tags_step2,
  ring_tags_step3,
  ring_zhekou_list,
  ring_zhekou_edit_items,
  ring_runing_log,
  routing: routerReducer
});

export default rootReducer;
